<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8"></meta>
        <title>CRUD</title>
        <link rel="stylesheet" type="text/css" href="jquery-easyui-1.7.0/themes/default/easyui.css" />
        <link rel="stylesheet" type="text/css" href="jquery-easyui-1.7.0/themes/icon.css" />
        <script type="text/javascript" src="jquery-easyui-1.7.0/jquery.min.js"></script>
        <script type="text/javascript" src="jquery-easyui-1.7.0/jquery.easyui.min.js"></script>
        <script type="text/javascript" src="jquery-3.2.1/jquery-3.2.1.min.js"></script>
        <!-- 中文化 -->
        <script type="text/javascript" src="jquery-easyui-1.7.0/locale/easyui-lang-zh_CN.js"></script>
       
       <script type="text/javascript">
       function save(){
    	     var formData=$("ruleForm").serialize();//用jquery 获取你的form对象  后边是序化
    	     $.ajax({
    	        type: "POST",
    	         url: "${request.contextPath}/interactive/getRuleValue1",
    	   		 dataType:"json",
    	         processData:true,
    	         data:formData,
    	         success: function(msg){
    	          if(msg=="success"){
    	            alter(msg);
    	           }else{
    	            //失败执行的代码
    	           }
    	         }
    	        })
    	   }
       </script>
    </head>
    
    <body>
	    <form action="" method="post" id="ruleForm">
	　　		最大值：<input type="text" name="maxVal"/> <br><br>
                                    最小值：<input type="text" name="minVal"/> <br><br>
       		<input type="submit" value="保存"/>

		</form>
    </body>

</html>